package mk.com.ldm.corepoint.implementation.shared;

import java.io.Serializable;

@SuppressWarnings("serial")
public class TableColumn implements Serializable{
	private String header = "";
	private boolean filter = false;
	private String filterWidget = "TB";
	private String filterOperator = "=";
	private String filterField = "";
	private boolean visible = false;
	private int width = 0;
	private String foreign;
	
	public TableColumn(){}

	public TableColumn(String header, boolean filter, boolean visible, int width) {
		super();
		this.header = header;
		this.filter = filter;
		this.visible = visible;
		this.width = width;
	}

	public String getHeader() {
		return header;
	}

	public void setHeader(String header) {
		this.header = header;
	}

	public boolean isFilter() {
		return filter;
	}

	public void setFilter(boolean filter) {
		this.filter = filter;
	}

	public boolean isVisible() {
		return visible;
	}

	public void setVisible(boolean visible) {
		this.visible = visible;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public String getFilterWidget() {
		return filterWidget;
	}

	public void setFilterWidget(String filterWidget) {
		this.filterWidget = filterWidget;
	}

	public String getFilterOperator() {
		return filterOperator;
	}

	public void setFilterOperator(String filterOperator) {
		this.filterOperator = filterOperator;
	}

	public String getForeign() {
		return foreign;
	}

	public void setForeitn(String foreign) {
		this.foreign = foreign;
	}

	public String getFilterField() {
		return filterField;
	}

	public void setFilterField(String filterField) {
		this.filterField = filterField;
	}
	
}